package com.hippoframework.bean;
import java.util.Map;

/**
 * @author TylerW
 * @date 1/15/2020 4:25 PM
 */
public interface BeanFactory {

    <T> T getBean(String name, Class<T> requiredType);

    <T> T getBean(Class<T> requiredType);

    void doRegisterDefinition(Class<?> cls, GenericBeanDefinition definition);

    Map<String, BeanDefinition> getBeanDefinitions();

}
